package com.hk.commons.entity.yingmi;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_fund_nav")
public class FundNav implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -712639520459763319L;

	/** 净值日期 */
	public Date navDate;

	@Id
	/** 基金代码 */
	public String fundCode;

	/** 单位净值 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal nav;

	/** 累计净值 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal accumulatedNav;

	/** 万份收益 */
	@Column(precision = 18 , scale = 5)
	public BigDecimal unitYield;

	/** 七日年化收益率 */
	@Column(precision = 18 , scale = 5)
	public BigDecimal yearlyRoe;

	/** 近一天涨幅 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal dayReturn;

	/** 近一周收益率 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal oneWeekReturn;

	/** 近一个月收益率 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal oneMonthReturn;

	/** 近三个月收益率 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal quarterReturn;

	/** 近半年收益率 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal halfYearReturn;

	/** 近一年收益率 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal oneYearReturn;

	/** 今年以来收益率 */
	@Column(precision = 18 , scale = 4)
	public BigDecimal thisYearReturn;


	public Date getNavDate() {
		return navDate;
	}

	public void setNavDate(Date navDate) {
		this.navDate = navDate;
	}

	public String getFundCode() {
		return fundCode;
	}

	public void setFundCode(String fundCode) {
		this.fundCode = fundCode;
	}

	public BigDecimal getNav() {
		return nav;
	}

	public void setNav(BigDecimal nav) {
		this.nav = nav;
	}

	public BigDecimal getAccumulatedNav() {
		return accumulatedNav;
	}

	public void setAccumulatedNav(BigDecimal accumulatedNav) {
		this.accumulatedNav = accumulatedNav;
	}

	public BigDecimal getUnitYield() {
		return unitYield;
	}

	public void setUnitYield(BigDecimal unitYield) {
		this.unitYield = unitYield;
	}

	public BigDecimal getYearlyRoe() {
		return yearlyRoe;
	}

	public void setYearlyRoe(BigDecimal yearlyRoe) {
		this.yearlyRoe = yearlyRoe;
	}

	public BigDecimal getDayReturn() {
		return dayReturn;
	}

	public void setDayReturn(BigDecimal dayReturn) {
		this.dayReturn = dayReturn;
	}

	public BigDecimal getOneWeekReturn() {
		return oneWeekReturn;
	}

	public void setOneWeekReturn(BigDecimal oneWeekReturn) {
		this.oneWeekReturn = oneWeekReturn;
	}

	public BigDecimal getOneMonthReturn() {
		return oneMonthReturn;
	}

	public void setOneMonthReturn(BigDecimal oneMonthReturn) {
		this.oneMonthReturn = oneMonthReturn;
	}

	public BigDecimal getQuarterReturn() {
		return quarterReturn;
	}

	public void setQuarterReturn(BigDecimal quarterReturn) {
		this.quarterReturn = quarterReturn;
	}

	public BigDecimal getHalfYearReturn() {
		return halfYearReturn;
	}

	public void setHalfYearReturn(BigDecimal halfYearReturn) {
		this.halfYearReturn = halfYearReturn;
	}

	public BigDecimal getOneYearReturn() {
		return oneYearReturn;
	}

	public void setOneYearReturn(BigDecimal oneYearReturn) {
		this.oneYearReturn = oneYearReturn;
	}

	public BigDecimal getThisYearReturn() {
		return thisYearReturn;
	}

	public void setThisYearReturn(BigDecimal thisYearReturn) {
		this.thisYearReturn = thisYearReturn;
	}

}
